<{include file="../common/header.tpl"}>
<table width="100%" border="0" cellspacing="0">
 <tr>
    <td width="13%" valign="top">
            <{include file="../common/left.tpl"}>
    </td>
    <td width="87%" valign="top">
					
            <table width="100%" border="0" cellspacing="0">
              <tr>
                    <td>
                        <form name="myform" action="/webadmin/progress/schedule" method="get" id="myform">
                            <div class="explain-col">
                            项目名称：
                            <input type="text" value="<{$params.project_name}>" class="input-text" name="project_name">
                            <input type="submit" value="搜索" class="button" name="dosubmit">
                            </div>
                        </form> 

                        <div class="pad_10">
                          <div class="table-list">
                          <table width="100%">
                                <thead>
                                  <tr>
                                        <th width="141">项目编号</th>
                                        <th width="566" align="left">项目名称</th>
                                        <th width="61">问卷数量</th>
                                        <th width="100">进度</th>
                                        <th width="120">更新时间</th>
                                  </tr>
                                </thead>
                                <tbody>
                                   <{if $list}>
                                  <{foreach $list as $key => $val}>
                                  <tr>
                                        <td align="center"><{$val.project_num}></td>
                                        <td align="left">
                                                <a style="color:#b73632;" href="/webadmin/progress/projectQuestion?project_id=<{$val.project_id}>"><{$val.project_name}></a> 
                                        </td>
                                        <td align="center"><{if $val.question_num}><{$val.question_num}><{else}>0<{/if}></td>
                                        <td align="center"><{if $val.question_num}><{math equation="x/y*100" x=$val.complete_num y=$val.question_num format="%.2f"}>%<{else}>0%<{/if}></td>
                                        <td align="center"><{$val.update_time|date_format:"%Y-%m-%d %H:%M:%S"}></td>
                                  </tr>
                                  <{/foreach}>
                                  <{else}>
                                  <tr><td colspan="5">无项目</td></tr>
                                  <{/if}>
                                </tbody>
                          </table>
                                <div style="float:right;"><{$page}></div>
                          </div>
                        </div>
                    </td>
              </tr>
            </table>
    	</td>
 </tr>
</table>
<{include file="../common/footer.tpl"}>